<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>绘画板</title>
    <link rel="stylesheet" href="index.css">
    <script src="index.js"></script>
</head>

<body>
    <div id="container">
        <div id="left">
            <!-- vanvas宽高不要写在样式表中会出错 -->
            <canvas id="canvas" width="666" height="630"></canvas>
        </div>
        <div id="right">
            <span style="font-weight: bolder;">像素笔:</span>
            <span id="pen_name" style="font-weight: 600;"></span>
            <div id="pen">
                <img src="images/钢笔.svg" alt="" width="30px" height="30px" class="pen_action">
                <img src="images/橡皮擦.svg" alt="" width="30px" height="30px" id="eraser">
            </div>
            <!-- 粗细 -->
            <div id="progress">
                <span>粗细</span>
                <input type="text" id="text1" readonly>
                <div id="linewidth">
                    <div id="linemove"></div>
                </div>
            </div>
            <!-- 调色板 -->
            <div id="colors">
                <span id="now_color">当前颜色:</span>
                <div name="" id="text_color"></div><br>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
                <button></button>
            </div>
        </div>
    </div>
</body>

</html>